package Hotel;


public class SilverUser extends User
{
   private PriceCalculator priceCalculator;
   public SilverUser(PriceCalculator priceCal)
   {
      this.priceCalculator = priceCal;
   }
   @Override
   public void display()
   {
      System.out.println("银卡用户");
      priceCalculator.calPrice();
   }
}
